home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
RSCSSTR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-18
|
756b
|
31 lines
/**************************************************************************
* RSCSSTR.C - Set pointers to object strings from within a tree.
*************************************************************************/
#include "gemfintl.h"
#ifdef GEMFAST_PROTOS
void rsc_sstrings(OBJECT *thetree, short object, char *pstr, ...)
#else
void rsc_sstrings(thetree, object, pstr)
OBJECT *thetree;
register short object;
char *pstr;
#endif
{
register OBJECT *ptree;
register char **ppstr;
va_list args;
ptree = thetree;
va_start(args, pstr);
while (object >= 0) {
ppstr = obj_ppstring(&ptree[object]);
*ppstr = pstr;
object = va_arg(args, short);
pstr = va_arg(args, char *);
}
va_end(args);
}